<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no">
    <title>共享现金客服系统</title>
    <meta name="keywords" content="共享现金客服系统">
    <meta name="description" content="共享现金客服系统">
    <link rel="stylesheet" href="/Public/admin/css/gxxj/public_O.css">
    <link rel="stylesheet" href="/Public/admin/css/gxxj/workorder.css">

</head>
<body>
<div class="boxHead">
    <a href="javascript:;" class="title">沟通记录</a>
</div>


<div class="workorder_tab">

    <ul>
        <li id="record_1"><a href="<{$SRVER_NAME}>/admin.php/UserCenter/communicate_record?type=1&vid=<{$vid}>">客服沟通记录</a></li>
        <!--<li id="record_2"><a href="<{$SRVER_NAME}>/admin.php/UserCenter/communicate_record?type=2&vid=<{$vid}>">贷后催收记录</a></li>-->
    </ul>
    <div class="search_top">
        <div class="search_div">
            <form method="get" action="<{$SRVER_NAME}>/admin.php/UserCenter/communicate_record">
                <input class="search_input" type="text" name="user" placeholder="搜索反馈"/>
                <input  type="text" name="vid" value="<{$vid}>" hidden/>
                <input  type="text" name="type" value="<{$type}>" hidden/>
                <input type="submit"  value="" class="search_img"/>
            </form>
        </div>

    </div>
    </div>

<div class="workorderBox">
    <!--客服沟通记录-->
    <if condition="($type eq '1')">
        <table class="search_table">
            <thead>
            <tr>
                <th>用户反馈内容</th>
                <th>客服反馈内容</th>
                <th>记录创建时间</th>
                <th>状态</th>
                <th>记录人</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="user" id="vo" key="i">
                <tr>
                    <td><{$vo.content}></td>
                    <td><{$vo.back_content}></td>

                    <td><{$vo.ctime}></td>
                    <td><{$vo.status}></td>
                    <td><{$vo.kefu_name}></td>
                    <td>
                        <a href="<{$SRVER_NAME}>/admin.php/UserFeedback/feedback_detail?id=<{$vo.id}>"><span class="bg_color_green color_white table_span" style="font-size: small ">详情</span></a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </if>
    <!--贷后催收记录-->
    <if condition="($type eq '2')">
        <table class="search_table">
            <thead>
            <tr>
                <th>沟通备注信息</th>
                <th>记录创建时间</th>
                <th>记录人</th>

            </tr>
            </thead>
            <tbody>
            <volist name="data" id="vo" key="i">
                <tr>
                    <td><{$vo.borrow_no}></td>
                    <td><{$vo.repay_money}></td>
                    <td><{$vo.repay_time}></td>
                    <td><{$vo.real_time}></td>
                    <td><{$vo.type}></td>
                    <td><{$vo.status}></td>
                </tr>
            </volist>
            </tbody>
        </table>
    </if>

    <div class="dataTables_paginate paging_simple_numbers">
        <ul class="pagination">
            <if condition="$tol gt 10">
                <{$fpage}>
            </if>
        </ul>
    </div>
</div>

<script type="text/javascript" src="/Public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/Public/admin/js/common.js"></script>

<script>

    $(function () {
        var type = "<{$type}>";
        if (type == 1) {
            $("#record_1").addClass('active');
        } else if (type == 2) {
            $("#record_2").addClass('active');

        }
    });

</script>
</body>
</html>